package com.wie.staffhubpro.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProjectDetail {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private String projectName;

    /**
     *
     */
    private String projectDesc;

    /**
     *
     */
    private LocalDate startDate;

    /**
     *
     */
    private LocalDate endDate;

    /**
     *
     */
    private String status;

    /**
     *
     */
    private LocalDateTime createTime;

    /**
     *
     */
    private LocalDateTime updateTime;

    /**
     * 负责部门
     */
    private Integer deptId;

    /**
     * 项目经理的 empId
     */
    private Integer projMan;

    /**
     * 参与员工
     */
    private List<ProjectEmp> empList;

}
